import 'dart:collection';

class GameRecordModel {
  int? matchId;
  String? matchTime;
  String? matchCourtName;
  String? matchRulesValue;
  String? matchRulesName;
  String? clubName;
  String? clubImage;
  int? clubId;

  GameRecordModel(
      {this.matchId,
      this.matchTime,
      this.matchCourtName,
      this.matchRulesValue,
      this.matchRulesName,
      this.clubName,
      this.clubImage,
      this.clubId});

  GameRecordModel.fromJson(Map<String, dynamic> json) {
    matchId = json['matchId'];
    matchTime = json['matchTime'];
    matchCourtName = json['matchCourtName'];
    matchRulesValue = json['matchRulesValue'];
    matchRulesName = json['matchRulesName'];
    clubName = json['clubName'];
    clubImage = json['clubImage'];
    clubId = json['clubId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['matchId'] = matchId;
    data['matchTime'] = matchTime;
    data['matchCourtName'] = matchCourtName;
    data['matchRulesValue'] = matchRulesValue;
    data['matchRulesName'] = matchRulesName;
    data['clubName'] = clubName;
    data['clubImage'] = clubImage;
    data['clubId'] = clubId;
    return data;
  }
}